﻿// /////////////////////////////////// 
//  
//  
//      WiseLink CCF2.0 
//     (c)Copyright 2001-2010 WiseLink Xiaojun (David) Chen 
//        Authored and Owned Xiaojun (David) Chen 
//        All Right Reserved
//  
// /////////////////////////////////// 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CCF20Model.Common.Infrastructure
{
    public enum DialogImage { Asterisk, Error, Exclamation, Hand, Information, None, Question, Stop, Warning }
    public enum DialogButton { OK, OKCancel, YesNo, YesNoCancel }
    public enum DialogResponse { Cancel, No, None, OK, Yes }

    public interface IDialogService
    {
        DialogResponse ShowException(String message, DialogImage image = DialogImage.Error);
        DialogResponse ShowMessage(String message, String caption, DialogButton button, DialogImage image);
    }
}
